/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.gui.GuiChat;
/*    */ import net.minecraft.client.gui.GuiTextField;
/*    */ import net.minecraftforge.client.event.GuiScreenEvent;
/*    */ import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
/*    */ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
/*    */ import net.minecraftforge.fml.relauncher.ReflectionHelper;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @EventBusSubscriber(modid = "dragoncore")
/*    */ public class pw
/*    */ {
/* 16 */   private static String g = "";
/*    */   
/*    */   @SubscribeEvent
/*    */   public static void v(GuiScreenEvent.KeyboardInputEvent.Post a) {
/* 20 */     if (a.getGui().getClass() == GuiChat.class) {
/* 21 */       GuiTextField guiTextField = (GuiTextField)ReflectionHelper.getPrivateValue(GuiChat.class, a
/* 22 */           .getGui(), new String[] { "inputField", "field_146415_a" });
/* 23 */       if (!guiTextField.func_146179_b().equals(g)) {
/* 24 */         uy.v(g, guiTextField.func_146179_b());
/* 25 */         g = guiTextField.func_146179_b();
/*    */       } 
/*    */     } 
/*    */   }
/*    */   
/*    */   @SubscribeEvent
/*    */   public static void v(GuiScreenEvent.InitGuiEvent a) {
/* 32 */     if (a.getGui().getClass() == GuiChat.class)
/* 33 */       g = ""; 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\pw.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */